﻿using STHPMS1.ICore.I_Entity.Info;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace STHPMS1.ICore.I_BLL.Bus
{
    public interface IDn_Stand_WanBill : IBll
    {
        void Save<T>(T entity) 
            where T:class ,IDn_Stand_Wan;

        void Remove(IDn_Stand_Wan entity);

        IEnumerable<T> Get<T>(Expression<Func<T, bool>> predicate, IPagingInfo info)
            where T : class, IDn_Stand_Wan;
        /// <summary>
        /// 根据技术等级和评价指标类型返回公式对象
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="pj">评价指标</param>
        /// <param name="js">技术等级</param>
        /// <returns></returns>
        List<T> GetList<T>(int pj, int js) where T : class, IDn_Stand_Wan;
    }
}
